package com.zff.rental.service;

import com.zff.rental.mapper.apartment.*;
import com.zff.rental.mapper.statistics.RoomBrowsingHistoryMapper;
import com.zff.rental.mapper.statistics.RoomClickContactRecordMapper;
import com.zff.rental.mapper.user.UserMapper;
import com.zff.rental.repository.apartment.*;
import com.zff.rental.repository.statistics.RoomBrowsingHistoryRepository;
import com.zff.rental.repository.statistics.RoomClickContactRecordRepository;
import com.zff.rental.repository.user.UserRepository;
import jakarta.annotation.Resource;

/**
 * @author HCY
 */
public class BaseService {
    /**
     * 管理员服务
     */
    @Resource
    protected AdminService adminService;

    /**
     * 用户
     */
    @Resource
    protected UserRepository userRepository;

    /**
     * 公寓
     */
    @Resource
    protected ApartmentRepository apartmentRepository;

    /**
     * 套间
     */
    @Resource
    protected SuitesTypeRepository suitesTypeRepository;
    @Resource
    protected TrSuitesTypeDeviceRepository trSuitesTypeDeviceRepository;

    /**
     * 房间
     */
    @Resource
    protected RoomRepository roomRepository;
    @Resource
    protected TrRoomDeviceRepository trRoomDeviceRepository;

    /**
     * 附件
     */
    @Resource
    protected AttachmentRepository attachmentRepository;

    /**
     * 公寓权限管理
     */
    @Resource
    protected ApartmentManagerRepository apartmentManagerRepository;

    /**
     * 设备字典
     */
    @Resource
    protected DeviceDictRepository deviceDictRepository;

    /**
     * 用户
     */
    @Resource
    protected UserMapper userMapper;

    /**
     * 公寓
     */
    @Resource
    protected ApartmentMapper apartmentMapper;

    /**
     * 套间
     */
    @Resource
    protected SuitesTypeMapper suitesTypeMapper;
    @Resource
    protected TrSuitesTypeDeviceMapper trSuitesTypeDeviceMapper;

    /**
     * 房间
     */
    @Resource
    protected RoomMapper roomMapper;
    @Resource
    protected TrRoomDeviceMapper trRoomDeviceMapper;

    /**
     * 附件
     */
    @Resource
    protected AttachmentMapper attachmentMapper;

    /**
     * 公寓权限管理
     */
    @Resource
    protected ApartmentManagerMapper apartmentManagerMapper;

    /**
     * 设备字典
     */
    @Resource
    protected DeviceDictMapper deviceDictMapper;

    /**
     * 房间浏览记录
     */
    @Resource
    protected RoomBrowsingHistoryRepository roomBrowsingHistoryRepository;
    @Resource
    protected RoomBrowsingHistoryMapper roomBrowsingMapper;

    /**
     * 房间点击联系人记录
     */
    @Resource
    protected RoomClickContactRecordRepository roomClickContactRecordRepository;
    @Resource
    protected RoomClickContactRecordMapper roomClickContactRecordMapper;
}
